package com.example.myproject.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "user_ratio")
@Data
public class UserRatio {
    @Id
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "upload")
    private Long upload;

    @Column(name = "download")
    private Long download;

    @Column(name = "ratio")
    private Double ratio;
}